
package mytomcat.util;

/**
 * <ul>
 * <li>Title: -StringUtil</li>
 * <li>Description: TODO </li>
 * <li>Copyright: Copyright (c) 2018</li>
 * <li>Company: /</li>
 * </ul>
 *
 * @author swc
 * @version V1.0
 * @date 2020/5/29 0029 下午 15:21
 */
public class StringUtil {

    public static String lowerFirstWord(String word){
        char[] chars = word.toCharArray();
        if (chars[0] >= 'A' && chars[0] <= 'Z') {
            chars[0] = (char)(chars[0] + 32);
        }
        return String.valueOf(chars);
    }
}
